package com.example.qa_back.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qa_back.entity.QA;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author 董帅
 * @date 2021/3/6 - 18:01
 */
@Repository
public interface BackQAMapper extends BaseMapper<QA> {
    @Select("SELECT * FROM q_a")
    QA[] getAllQA();
}
